package model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * JsfClass entity. @author MyEclipse Persistence Tools
 */

public class JsfClass implements java.io.Serializable {

	// Fields

	private Integer id;
	private JsfCoach jsfCoach;
	private String name;
	private Date beginTime;
	private Date endTime;
	private String place;
	private Integer clientNumNow;
	private Integer clientNumMax;
	private String detail;
	private Integer priceEveryone;
	private Integer profit;
	private Integer passed;
	private String uncheckreason;
	private Integer classroomNum;
	private Set jsfOrders = new HashSet(0);
	private Set jsfClientdetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public JsfClass() {
	}

	/** minimal constructor */
	public JsfClass(JsfCoach jsfCoach, Integer passed) {
		this.jsfCoach = jsfCoach;
		this.passed = passed;
	}

	/** full constructor */
	public JsfClass(JsfCoach jsfCoach, String name, Date beginTime,
			Date endTime, String place, Integer clientNumNow,
			Integer clientNumMax, String detail, Integer priceEveryone,
			Integer profit, Integer passed, String uncheckreason,
			Integer classroomNum, Set jsfOrders, Set jsfClientdetails) {
		this.jsfCoach = jsfCoach;
		this.name = name;
		this.beginTime = beginTime;
		this.endTime = endTime;
		this.place = place;
		this.clientNumNow = clientNumNow;
		this.clientNumMax = clientNumMax;
		this.detail = detail;
		this.priceEveryone = priceEveryone;
		this.profit = profit;
		this.passed = passed;
		this.uncheckreason = uncheckreason;
		this.classroomNum = classroomNum;
		this.jsfOrders = jsfOrders;
		this.jsfClientdetails = jsfClientdetails;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public JsfCoach getJsfCoach() {
		return this.jsfCoach;
	}

	public void setJsfCoach(JsfCoach jsfCoach) {
		this.jsfCoach = jsfCoach;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBeginTime() {
		return this.beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public Integer getClientNumNow() {
		return this.clientNumNow;
	}

	public void setClientNumNow(Integer clientNumNow) {
		this.clientNumNow = clientNumNow;
	}

	public Integer getClientNumMax() {
		return this.clientNumMax;
	}

	public void setClientNumMax(Integer clientNumMax) {
		this.clientNumMax = clientNumMax;
	}

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Integer getPriceEveryone() {
		return this.priceEveryone;
	}

	public void setPriceEveryone(Integer priceEveryone) {
		this.priceEveryone = priceEveryone;
	}

	public Integer getProfit() {
		return this.profit;
	}

	public void setProfit(Integer profit) {
		this.profit = profit;
	}

	public Integer getPassed() {
		return this.passed;
	}

	public void setPassed(Integer passed) {
		this.passed = passed;
	}

	public String getUncheckreason() {
		return this.uncheckreason;
	}

	public void setUncheckreason(String uncheckreason) {
		this.uncheckreason = uncheckreason;
	}

	public Integer getClassroomNum() {
		return this.classroomNum;
	}

	public void setClassroomNum(Integer classroomNum) {
		this.classroomNum = classroomNum;
	}

	public Set getJsfOrders() {
		return this.jsfOrders;
	}

	public void setJsfOrders(Set jsfOrders) {
		this.jsfOrders = jsfOrders;
	}

	public Set getJsfClientdetails() {
		return this.jsfClientdetails;
	}

	public void setJsfClientdetails(Set jsfClientdetails) {
		this.jsfClientdetails = jsfClientdetails;
	}

}